﻿<Window x:Class="frmAddPerson"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Add New Person" Height="502" Width="661" WindowStyle="ToolWindow" Background="Gray" ShowInTaskbar="True" WindowStartupLocation="CenterScreen">
    <Grid>
        <GroupBox Header="Personal" Height="131" Margin="7,1,299,0" Name="GroupBox1" VerticalAlignment="Top" Width="333">
            <Grid>
                <Label Height="21" HorizontalAlignment="Left" Margin="0,1,0,0" Name="Label6" VerticalAlignment="Top" Width="53">Surname</Label>
                <Label HorizontalAlignment="Left" Margin="0,29,0,0" Name="Label7" Width="62" Height="20.8" VerticalAlignment="Top">First Name</Label>
                <TextBox BorderBrush="Black" Height="20" Margin="70,5,5,0" Name="txtSurname" VerticalAlignment="Top" />
                <Label Height="20.8" HorizontalAlignment="Left" Margin="-2,0,0,6" Name="Label1" VerticalAlignment="Bottom" Width="35">DOB</Label>
                <!--<TextBox BorderBrush="Black" Height="19.8" Margin="68,0,132,6" Name="txtDOB" VerticalAlignment="Bottom" AcceptsTab="False" />-->
                <my:DatePicker BorderBrush="Black" Height="19.8" Margin="68,0,132,6" Name="txtDOB" VerticalAlignment="Bottom"  xmlns:my="http://schemas.microsoft.com/wpf/2008/toolkit" />
                <ComboBox BorderBrush="Black" Margin="69,0,132,32" Name="drpTitle" Height="21" VerticalAlignment="Bottom" />
                <Label HorizontalAlignment="Left" Margin="-1,58,0,0" Name="Label2" Width="34" Height="20.8" VerticalAlignment="Top">Title</Label>
                <TextBox BorderBrush="Black" Height="20" Margin="69,31,5,0" Name="txtFirstName" VerticalAlignment="Top" />
<Button Height="23" HorizontalAlignment="Right" Margin="0,0,89,3" Name="btnDOB" VerticalAlignment="Bottom" Width="37" Background="Cyan" Visibility="Hidden">
                </Button>
            </Grid>
        </GroupBox>
        <GroupBox Header="Employment" Margin="5,139,301,189" Name="GroupBox2" Width="333">
            <Grid>
                <Label Height="21" HorizontalAlignment="Left" Margin="0,1,0,0" Name="Label3" VerticalAlignment="Top" Width="53">Job Title</Label>
                <Label Height="20.8" HorizontalAlignment="Left" Margin="0,32,0,0" Name="Label4" VerticalAlignment="Top" Width="62">Qual</Label>
                <TextBox BorderBrush="Black" Height="20" Margin="70,5,2,0" Name="txtJobTitle" VerticalAlignment="Top" />
                <Label Height="22" HorizontalAlignment="Left" Margin="-2,0,0,6" Name="lblCompany" VerticalAlignment="Bottom" Width="65">Company</Label>
                <ComboBox BorderBrush="Black" Height="21" Margin="0,0,6,4" Name="drpRelationship" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="94" />
                <Label Height="22" HorizontalAlignment="Left" Margin="-1,0,0,34" Name="Label8" VerticalAlignment="Bottom" Width="43">Salary</Label>
                <TextBox BorderBrush="Black" Height="20" Margin="69,0,3,34" Name="txtSalary" VerticalAlignment="Bottom" />
                <ComboBox BorderBrush="Black" Margin="69,33,3,0" Name="drpQual" Height="21" VerticalAlignment="Top" />
                <Label Height="22" Margin="146,0,106,4" Name="lblRelationship" VerticalAlignment="Bottom">Relationship</Label>
                <TextBox BorderBrush="Black" Height="19.8" Margin="69,0,0,5" Name="txtCompanyID" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="71" />
            </Grid>
        </GroupBox>
        <GroupBox Header="Email" Height="54" Margin="7,0,299,126" Name="GroupBox6" VerticalAlignment="Bottom" Width="333">
            <Grid>
                <RadioButton Margin="198,6,164,4" Name="radCaseInit">Initiated</RadioButton>
                <Label HorizontalAlignment="Left" Margin="-2,7,0,6" Name="Label10" Width="65">Email</Label>
                <TextBox BorderBrush="Black" HorizontalAlignment="Left" Margin="69,10,0,5" Name="txtEmailName" Width="71" IsReadOnly="True">Email</TextBox>
                <TextBox BorderBrush="Black" Margin="146,10,6,5" Name="txtEmail" />
            </Grid>
        </GroupBox>
        <GroupBox Header="Phone Numbers" Height="108" Margin="6,0,299,10" Name="GroupBox3" VerticalAlignment="Bottom" Width="333">
            <Grid>
                <Label Height="21.8" HorizontalAlignment="Left" Margin="-2,6,0,0" Name="Label11" VerticalAlignment="Top" Width="65">Main</Label>
                <TextBox BorderBrush="Black" Height="19.8" HorizontalAlignment="Left" Margin="69,9,0,0" Name="txtPhoneMainName" VerticalAlignment="Top" Width="71" IsReadOnly="True">Phone</TextBox>
                <TextBox BorderBrush="Black" Height="19.8" Margin="146,9,7,0" Name="txtPhoneMain" VerticalAlignment="Top" IsReadOnly="False" />
                <Label HorizontalAlignment="Left" Margin="-3,34,0,33" Name="Label12" Width="65">Fax</Label>
                <TextBox BorderBrush="Black" HorizontalAlignment="Left" Margin="68,37,0,32" Name="txtPhoneFaxName" Width="71" IsReadOnly="True">Fax</TextBox>
                <TextBox BorderBrush="Black" Margin="145,37,8,32" Name="txtPhoneFax" IsReadOnly="False" />
                <Label Height="21.8" HorizontalAlignment="Left" Margin="-3,0,0,5" Name="Label13" VerticalAlignment="Bottom" Width="65">Other</Label>
                <TextBox BorderBrush="Black" Height="19.8" HorizontalAlignment="Left" Margin="68,0,0,4" Name="txtPhoneOtherName" VerticalAlignment="Bottom" Width="71" IsReadOnly="True">Mobile</TextBox>
                <TextBox BorderBrush="Black" Height="19.8" Margin="145,0,8,4" Name="txtPhoneOther" VerticalAlignment="Bottom" />
            </Grid>
        </GroupBox>
        <GroupBox Header="Personal" Margin="0,1,10,0" Name="GroupBox4" Height="187" HorizontalAlignment="Right" VerticalAlignment="Top" Width="283">
            <Grid>
                <Label Height="21" HorizontalAlignment="Left" Margin="-2,33,0,0" Name="Label14" VerticalAlignment="Top" Width="64">Destination</Label>
                <Label Height="22" HorizontalAlignment="Left" Margin="-2,0,0,3" Name="Label16" VerticalAlignment="Bottom" Width="66">Expiry Date</Label>
                <!--<TextBox BorderBrush="Black" Height="19.8" Margin="70,0,89,3" Name="txtVisaExpiry" VerticalAlignment="Bottom" />-->
                <my:DatePicker BorderBrush="Black" Height="19.8" Margin="70,0,89,3" Name="txtVisaExpiry" VerticalAlignment="Bottom"  xmlns:my="http://schemas.microsoft.com/wpf/2008/toolkit" />
                <Button Height="23" HorizontalAlignment="Left" Margin="36,-1,0,0" Name="btnSA" VerticalAlignment="Top" Width="36" Tag="77">SA</Button>
                <Button Height="22.8" Margin="78,-1,0,0" Name="btnNZ" VerticalAlignment="Top" HorizontalAlignment="Left" Width="32" Tag="49">NZ</Button>
                <Button Height="23" Margin="116,-1,119,0" Name="btnAU" VerticalAlignment="Top" Tag="2">AU</Button>
                <Button Height="22.8" Margin="0,-1,81,0" Name="btnUK" VerticalAlignment="Top" HorizontalAlignment="Right" Width="32" Tag="71">UK</Button>
                <Button Height="23" HorizontalAlignment="Right" Margin="0,-1,39,0" Name="btnCA" VerticalAlignment="Top" Width="36" Tag="9">CA</Button>
                <Button Height="22.8" HorizontalAlignment="Right" Margin="0,-1,1,0" Name="btnQ" VerticalAlignment="Top" Width="32">?</Button>
                <ComboBox BorderBrush="Black" Height="21" Margin="69.5,31,11.5,0" Name="drpDest" VerticalAlignment="Top" />
                <Label Height="21" HorizontalAlignment="Left" Margin="-2,60,0,0" Name="Label15" VerticalAlignment="Top" Width="64">Nationality</Label>
                <ComboBox BorderBrush="Black" Height="21" Margin="70,58,10,0" Name="drpNat" VerticalAlignment="Top" />
                <Label HorizontalAlignment="Left" Margin="-2,0,0,59" Name="Label17" Width="64" Height="20.8" VerticalAlignment="Bottom">Resident</Label>
                <ComboBox BorderBrush="Black" Margin="70,0,10,61" Name="drpRes" Height="20.8" VerticalAlignment="Bottom" />
                <Label Height="21" HorizontalAlignment="Left" Margin="-2,0,0,32" Name="Label18" VerticalAlignment="Bottom" Width="64">UK Visa</Label>
                <ComboBox BorderBrush="Black" Height="21" Margin="70,0,10,34" Name="drpUKVisa" VerticalAlignment="Bottom" />
            </Grid>
        </GroupBox>
        <GroupBox Header="Passport" HorizontalAlignment="Right" Margin="0,194,10,195" Name="grpPassport" Width="282">
            <Grid>
                <Label HorizontalAlignment="Left" Margin="-4,4,0,0" Name="Label19" Width="70" Height="23" VerticalAlignment="Top">Passport No</Label>
                <TextBox BorderBrush="Black" Margin="69,3,10,0" Name="txtPassportNo" Height="22" VerticalAlignment="Top" />
                <!--<TextBox BorderBrush="Black" Margin="69,0,89,0" Name="txtPassExp" Height="22" VerticalAlignment="Bottom" />-->
                <my:DatePicker BorderBrush="Black" Margin="69,0,89,0" Name="txtPassExp" Height="22" VerticalAlignment="Bottom"  xmlns:my="http://schemas.microsoft.com/wpf/2008/toolkit" />
                <Label HorizontalAlignment="Left" Margin="-2,0,0,1" Name="Label20" Width="46" Height="23" VerticalAlignment="Bottom">Expires</Label>
            </Grid>
        </GroupBox>
        <GroupBox Header="Advertising" Margin="0,0,10,126" Name="grpAdvert" Height="54" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="283">
            <Grid>
                <RadioButton Margin="0,2,13,8" Name="RadioButton1" HorizontalAlignment="Right" Width="0">Initiated</RadioButton>
                <Label HorizontalAlignment="Left" Margin="-2,7,0,6" Name="lblWhereHear" Width="74">Where Hear</Label>
                <ComboBox BorderBrush="Black" Margin="70,6,10,7.8" Name="drpWhereHear" />
            </Grid>
        </GroupBox>
        <GroupBox Header="Dependent Of" Margin="0,0,10,64" Name="grpDependentOf" Height="54" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="283" Visibility="Hidden">
            <Grid>
                <RadioButton HorizontalAlignment="Right" Margin="0,2,13,8" Name="RadioButton2" Width="0">Initiated</RadioButton>
                <Label HorizontalAlignment="Left" Margin="14,6,0,7" Name="lblParentID" Width="74">ParentId</Label>
                <Label Margin="98,6,99,7" Name="lblParentDesc">ParentDesc</Label>
                <Label HorizontalAlignment="Right" Margin="0,6,11,7" Name="lblChildDesc" Width="74">ChildDesc</Label>
            </Grid>
        </GroupBox>
        <Label Height="21.8" HorizontalAlignment="Right" Margin="0,0,115,36" Name="lblCompanyId" VerticalAlignment="Bottom" Width="74" Visibility="Hidden">Company ID</Label>
        <Button Height="20" HorizontalAlignment="Right" Margin="0,0,170,10" Name="btnSave" VerticalAlignment="Bottom" Width="60">Save</Button>
        <Button Height="20" HorizontalAlignment="Right" Margin="0,0,70,10" Name="btnCancel" VerticalAlignment="Bottom" Width="59">Cancel</Button>
    </Grid>
</Window>
